package com.bitcola.security.otc.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "ag_admin_v1.otc_order")

public class OtcOrder {
    @Id
    @Column(name = "id")
    String id;
    @Column(name = "type")

    String type;
    @Column(name = "number")

    BigDecimal number;
    @Column(name = "price")

    BigDecimal price;
    @Column(name = "user_id")

    String userId;
    @Column(name = "time")

    Date time;
    @Column(name = "status")

    String status;
    @Column(name = "payway")

    String payway;
    @Column(name = "user_account")

    String userAccount;
    @Column(name = "user_tel")

    String userTel;
    @Column(name = "merchant_account")

    String merchantAccount;
    @Column(name = "merchant_tel")

    String merchantTel;
    @Column(name = "merchant_id")

    String merchantId;



}
